<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-03-19
 * Time: 15:40
 */

namespace app\api\validate;


class IdMustBePositiveInt extends BaseValidate
{
    protected $rule = [
        'id' => 'require|isPositiveInteger'
    ];

    protected $message = [
        'id' => 'id必须为正整数'
    ];
}